﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ict.DataAccess.Attributes
{
    /// <summary>
    /// 定义实体的物理表名称，用于构造Insert, Update, Delete语句
    /// 用于定义DataEntity的扩展类的属性的属性类
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class TableNameAttribute : System.Attribute
    {
        string _value = null;

        public TableNameAttribute(string value)
        {
            _value = value;
        }

        public string Value
        {
            get
            {
                return _value;
            }
        }
    }
}
